home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1998 November: Tool Chest / Dev.CD Nov 98 TC.toast / Sample Code / Snippets / Sound / Cheap Studio / _headers / DBFF_Errors.h next >
Encoding:
C/C++ Source or Header  |  1996-11-15  |  1.4 KB  |  36 lines  |  [TEXT/CWIE]

  1. /*
  2. **    Apple Macintosh Developer Technical Support
  3. **
  4. **    Error codes for errors returned from DBFF functions.
  5. **
  6. **    by Mark Cookson, Apple Developer Technical Support
  7. **
  8. **    File:    DBFF_Errors.h
  9. **
  10. **    Copyright ©1996 Apple Computer, Inc.
  11. **    All rights reserved.
  12. **
  13. **    You may incorporate this sample code into your applications without
  14. **    restriction, though the sample code has been provided "AS IS" and the
  15. **    responsibility for its operation is 100% yours.  However, what you are
  16. **    not permitted to do is to redistribute the source as "Apple Sample
  17. **    Code" after having made changes. If you're going to re-distribute the
  18. **    source, we require that you make it clear in the source that the code
  19. **    was descended from Apple Sample Code, but that you've made changes.
  20. */
  21.  
  22. #ifndef __DBFFERRORS__
  23. #define __DBFFERRORS__
  24.  
  25. #define kInitErr            128    /* An error starting up that we can't recover from */
  26. #define kNoSPDBErr            129    /* SoundPlayDoubleBuffer is not supported on this Mac, can't play */
  27. #define kOldSndMgrErr        130    /* Need to have Sound Manager 3.0 or greater */
  28. #define kNilPtrErr            131    /* A nil pointer was passed to a routine */
  29. #define kBadRange            132    /* A value that is out of range was passed */
  30. #define kBadValue            133    /* A bad value was passed */
  31. #define kUnknownFormat        134    /* A file format we can't deal with */
  32. #define kBadWAVEFileFormat    135    /* A WAVE file with a bad file format */
  33. #define kFileErr            136    /* An error directly relating a file operation */
  34.  
  35. #endif
  36.